import React, { Component } from 'react';
import { Descriptions } from 'antd';
export default (({ style, title, lable, data }) => {
    return (
        <Descriptions style={{ ...style }} title={title} colon={false}>
            <Descriptions.Item label={lable.one} span={1}> {!!data.one ? data.one : null}</Descriptions.Item>
            <Descriptions.Item label={lable.two} span={1}> {!!data.two ? data.two : null}</Descriptions.Item>
            <Descriptions.Item label={lable.three} span={1}> {!!data.three ? data.three : null}</Descriptions.Item>
        </Descriptions>
    )
})